home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2001-01-06 | 1.5 KB | 69 lines |
- "FILE"="Xteq Systems X-Setup Plugin 6.0"
- "TYPE"="7"
- "COUNT"="3"
- "UIPATH"="Internet\Internet Explorer\System"
- "NAME"="FTP Behaviour"
- "VERSION"="2.02"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Use IE internal; new display mode (Explorer-like)"
- "TEXT 2"="Use IE internal; simple display mode (no upload etc.)"
- "TEXT 3"="Use external DOS FTP"
- "DESCRIPTION 1"="Select the mode how you wish to access ftp:// URLs"
- "AUTHOR"="Ojatex@aol.com"
- "CONTACTURL"="http://members.aol.com/ojatex/"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Faster FTP --> Keyword: FTP [For AOLers only]"
-
- sP="HKLM\Software\Microsoft\Windows\CurrentVersion\URL\Prefixes\ftp"
- sV2="HKCU\Software\Microsoft\Ftp\Use Web Based FTP" 'STR "no" = Explorer like display
-
- Sub Plugin_Initialize
- s=RegReadValue(sP)
- if s="ftp://" then
-
- 'internal... which one?
- s=RegReadValue(sV2)
- if s="yes" then
- Call SetUIElement(2,true)
- else
- Call SetUIElement(1,true)
- end if
-
- else
-
- Call SetUIElement(3,true)
-
- end if
-
-
-
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if GetUIElement(3)=true then
- 'use external
- if RegValueExists(sP) then
- Call RegDeleteValue(sP)
- end if
- else
- Call RegWriteValue(sp,"ftp://",1)
-
- if GetUIElement(1)=true then
- Call RegWriteValue(sV2,"no",1)
- else
- Call RegWriteValue(sV2,"yes",1)
- end if
- end if
-
-
-
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-
-